home *** CD-ROM | disk | FTP | other *** search
- FAKE.COM, SHORT FOR KEYFAKE.COM AS DESCRIBED IN PC MAGAZINE, DEC. 24, 1985
- ==========================================================================
-
- Allows sending of keystrokes to application programs. The difference with
- redirection of standard input is, that FAKE relinquishes control after
- sending its keystrokes, whereis redirection to a file limits input to that
- file's contents.
-
- Usage (most practically in batchfile):
-
- FAKE ["Input characters"] [00] [@00]
- PROGRAM
-
- Where: [00] stands for ASCII codes for (non-printable or control) characters
- [@00] stands for extended ASCII codes for function keys, Alt-letter
- keys, Alt-number keys, etcetera.
- Strings can be delimited by either single or double quotes.
- Different types of input can be mixed. E.g.:
-
- FAKE 'WE"R4' 13 32 @72 "YES" 9 32
-
- A batch file to modify the autoexec.bat, using the SCREEN editor
- could read:
-
- FAKE "autoexec.bat" 13
- SCREEN
-
- A batch file to start the Turbo Pascal Editor and automatically
- say 'Yes' to the question whether or not error messages should be
- displayed, might read simply:
-
- FAKE "Y"
- TURBO
-
- FAKE was duly entered at the keyboard by Peter ten Hoopen, Amsterdam.
-